package com.frostmourne.mxsattributeinventory.listeners;

import com.frostmourne.mxsattributeinventory.utils.FileUtils;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerJoinEvent;

import java.io.IOException;

public class PlayerListener implements Listener {

    @EventHandler
    public void join(PlayerJoinEvent e) throws IOException, InvalidConfigurationException {
        FileUtils.createData(e.getPlayer());

    }

}
